package com.game.majiang.logic.chexuan;

import com.game.majiang.config.ChexuanStructrue;
import com.game.majiang.config.CreateStructrue;
import com.game.majiang.config.LogManager;
import com.game.majiang.logic.LogicRoom;
import com.game.majiang.logic.LogicTable;
import com.game.majiang.vo.RoomConfigVo;

public class ChexuanRoom extends LogicRoom{

	public ChexuanRoom(RoomConfigVo vo) {
		super(vo);
		
	}

	@Override
	public LogicTable createTable(CreateStructrue struct) {
		LogManager.getInstance().Log("创建牌局createTable");
		ChexuanStructrue chexuan = (ChexuanStructrue) struct;
		ChexuanTabale table = new ChexuanTabale(gettableid());
		this.addTable(table);
		table.setCreate(chexuan);
		table.checkGameStartMinScore();
		return table;
	}


}
